import http from "@/api";

/** 获取图形验证码 */
export const getCaptchaAPI = () => {
	return http.post<string>(`/captcha`);
};

/** 获取邮箱验证码 */
export const emailVerify = (data: { email: string }) => {
	return http.post(`/emailVerify`, data);
};
